home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / utils / ffind230.zip / FFIND.TXT < prev    next >
Text File  |  1980-01-11  |  6KB  |  113 lines

  1.  
  2.                                FastFind V2.30  
  3.                                ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
  4.  
  5.                             package version 1.0  
  6.                             ────────────────────┘
  7.   FastFind is program, which is able to search for files, search strings in 
  8. files, replace strings in files, execute commands on files (Can be used as 
  9. _very_ powerfull FOR command in batch files). On local drives, it uses fast 
  10. access (it tests, if it is possible, use /F- to force using dos) which 
  11. bypasses some parts of DOS and makes search even faster (about 2 times). 
  12.   Text search can be case insensitive (/I+). However, case insensitive search 
  13. is alittle bit slower and text _replace_ is _always_ case sensitive. Replace 
  14. requires to be enough space for backup file (extension of ~ and last 2 chars 
  15. of extension). 
  16.   FastFind uses technique of parameters written directly into .EXE file. That 
  17. is done for maximum speed and good flexibility. FastFind uses special 'disk' 
  18. *: which means all disks you specify by /Dx commands (specify all hard drives) 
  19. - so when you save /DCDEF into .EXE file, every time you specify *:*.txt it 
  20. will search C:,D:,E:,F: for .txt files. Run SParams.exe to insert/change 
  21. parameters within ffind.exe. 
  22.  
  23.                             Few usefull batches  
  24.                             ────────────────────┘
  25. _Unpack.bat_ unpacks all compressed files in current directory. But first, it 
  26. creates separate directory for each packed file. Very usefull tool when you 
  27. bring set of packed files (downloaded from net) and want to examine them 
  28. quickly. _0zap.bat_ will delete any files with zero size if they matches 
  29. wildcard(s) you pass to it. Such files are often created as result of system 
  30. crash and usually are not neccessary. Example: 0zap *:*.* (deletes all such 
  31. files on all disks you specified in saved parameters). _Unix2dos.bat_ converts 
  32. specified file(s) from unix-like form (lines ended with #10), to dos-like form 
  33. (lines ended with #13#10). _Dos2unix.bat_ does reverse process. _DelTrash.bat_ 
  34. searches for all files which look like trash (temporary, backup,... Then it 
  35. runs editor on this set of files, so you see name of every file to be deleted, 
  36. and can save it by deleting its line. You're expected to edit this file to fit 
  37. your own needs (for example you can specify directories where you don't want 
  38. DelTrash to delete files - type find /V "do\not\delete\here\" <%f% >%f% 
  39. ), but please rename it to MyTrash.bat then. 
  40.                                 Command line  
  41.                                 ─────────────┘
  42.  
  43.   For command line help, start programm with /? as parameter.
  44.  
  45. FFIND [*:]path\[!]file [[!]file [...]] ["text" ["r.text"]] [[command]] [options]
  46.  
  47.   You can use things like #13#10"Sample"#13#10 to insert unprintable
  48. characters into search/replace string. This example will search single line
  49. (not first, not last) containing only "Sample" in DOS text file.
  50.  
  51.   FastFIND uses advanced wildcard matching:
  52.  
  53.   * can be in middle of name indicating any number of characters
  54.     (*A*.* than means all files with 'A' in name)
  55.  
  56.   more than one wildcard can be  present on command line meaning "it  matches,
  57. if it matches first wildcard OR second wildcard OR third..."
  58.  
  59.   ! can be present before wildcard meaning "exclude such files"
  60.       (works as AND NOT)
  61.  
  62.   /Ax[+|-] switch can be used to select files by attribute
  63.     x can be:
  64.       D .. Directory
  65.       A .. Archive
  66.       R .. Read - only
  67.       S .. System
  68.       H .. Hidden
  69.  
  70.   /Ax  .. don't care about attribute x
  71.   /Ax+ .. attribute x must be set
  72.   /Ax- .. attribute x must not be set
  73.   /S}x .. file must be bigger (or equal) than x bytes
  74.   /S{x .. file must be smaller (or equal) than x bytes
  75.  
  76.   default  is  /AD-,  these  switches  are  ignored,  if name does not contain
  77. wildcards
  78.  
  79.  Use following in [command]
  80.  
  81.  %1-drive %2-path %3-name %4-extension %5-full path %6-directory
  82.  %DISK, %EXT, %PATH, %OPATH (path, no drive), %NAME, %FULLPATH, %HASH
  83.  (%HASH inserts "#" into command line, don't type # into command string)
  84.  
  85. Options:
  86.   /?  help                           /I+ ignore case
  87.   /S- do not search subdirectories   /C+ complete file info
  88.   /C- only file names                /E+ only files NOT containing "text"
  89.   /B+ beep on end of every search    /B- do not beep on end of long search
  90.   /Ynnn /Nnnn answer Yes/No on error nnn automaticaly
  91.   /K- do not check keyboard (default Ctrl=pause, Ctrl+Alt=break)
  92.   /F- use DOS for disk reads         /T+ end after first matching file
  93.   /Dlist_of_drives  search on specified drives when used *:
  94.  
  95. Example:
  96. FFIND *:*.com *.exe !a*.* "Window" /DACDG [type %5]
  97.   Searches on disks A:,C:,D:,G: for files .com and .exe, that don't start with A
  98.   and that contains text "Window". Types every matching file.
  99.  
  100. ══════════════════════════════════════════════════════════════════════════════  
  101. This is shareware, please register after 30 days or stop using it. 
  102. Registration is done by sending $10 (nebo 50Kc pro lidi z Ceske republiky) to 
  103. me (address is below), you'll get other programs from me, registered version, 
  104. and any support you'll need. My e-mail address is 
  105. machek@novell.karlin.mff.cuni.cz , use it when you 1) have some problems 2) 
  106. want to say "thanks" 3) want to send me money 4) have some suggestions. You 
  107. can get more info about me & my programs on 
  108. http://novell.karlin.mff.cuni.cz/~pmac5296/index.htm . What more do you need? 
  109.  
  110.     Pavel Machek
  111.     Volkova 1131
  112. 198 00    Praha 9 - Czech republic
  113.